﻿using System;
using System.Collections.Generic;
using VisionCloud.Core.Model.Enums;

namespace VisionCloud.Domain.DtoModel.Applet.ResponseDto
{
    public class PointReportListDto
    {
        public List<PointReport> PointReports { get; set; }
    }

    public class PointReport
    {
        /// <summary>
        /// 任务Id，用来查看报告详情
        /// </summary>
        public Guid TaskId { get; set; }

        /// <summary>
        /// 站点
        /// </summary>
        public int PointIndex { get; set; }

        /// <summary>
        /// 任务类型
        /// 自检 = 1,
        ///巡检 = 2
        /// </summary>
        internal TaskTypeEnum TaskTypeEnum { get; set; }

        public string TaskType => TaskTypeEnum.ToString();

        /// <summary>
        /// 任务属性，初测复测等
        /// </summary>
        public string TaskProperty { get; set; }

        /// <summary>
        /// 工程阶段
        /// </summary>
        public string ProjectStandard { get; set; }

        public DateTime CompletedDate { get; set; }
        /// <summary>
        /// 是否有3D结果
        /// </summary>
        public bool HasHotMap { get; set; } = false;
        /// <summary>
        /// 文件保存路径
        /// </summary>
        public string ResultDataFilePath { get; set; }
        /// <summary>
        /// 报告地址
        /// </summary>
        public string Url { get; set; }

        public string TaskName { get; set; }
    }
}